package com.teach.controller.photo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.teach.service.impl.UserServiceImpl;
import com.teach.service.impl.photo.PhotoPicServiceImpl;

import lombok.extern.slf4j.Slf4j;

@RestController
@RequestMapping("/photo")

public class PhotoUserController {
	@Autowired
	private PhotoPicServiceImpl serviceImpl;
	@RequestMapping("pic-user-info.do")
	public Object writerInfo(String photoWriterId) {
		return serviceImpl.selectAuthorInfo(photoWriterId);
		
	}
}
